package com.food.eat.sso;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @Author:RenPu
 * @Date: 2020/8/5 12:56
 * @Version: 1.0
 * @description:
 */

@SpringBootApplication(exclude = {SecurityAutoConfiguration.class})
@MapperScan(value = "com.food.eat.mapper")

//扫描所有包，以及相关的组件包
@ComponentScan(basePackages = {"com.food.eat", "org.n3r.idworker"})
public class SsoMainApplication {

    public static void main(String[] args) {
        SpringApplication.run( SsoMainApplication.class, args );
    }
}
